/*
 * @description:
 * @version: 1.0.1
 * @Author: xuqiulin
 * @Date: 2021-04-30 11:08:50
 * @LastEditors:
 * @LastEditTime: 2021-04-30 11:09:31
 */
package main

import (
	"GameServer/ServerWeb/routers"
	"net/http"
	"time"
)

func main() {
	r := routers.Router()
	s := &http.Server{
		Addr:           ":8888",
		Handler:        r,
		ReadTimeout:    120 * time.Second,
		WriteTimeout:   120 * time.Second,
		MaxHeaderBytes: 1 << 20,
	}
	s.ListenAndServe()
}
